// news-system-modern/src/components/sandbox/TopHeader.scss
.site-layout-background {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header {
  padding: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1;
  
  .trigger-button {
    padding: 0 24px;
    font-size: 18px;
    line-height: 64px;
    cursor: pointer;
    transition: color 0.3s;
    
    &:hover {
      color: #1890ff;
    }
  }
  
  .user-info {
    display: flex;
    align-items: center;
    padding-right: 24px;
    
    .welcome-text {
      margin-right: 12px;
      
      .username {
        color: #1890ff;
        margin: 0 4px;
        font-weight: 500;
      }
    }
    
    .avatar {
      cursor: pointer;
      background-color: #87d068;
      
      &:hover {
        opacity: 0.8;
      }
    }
  }
}